package com.cardvalue.sys.entity;

import io.realm.RealmObject;

/**
 * 创建授权数据
 * Created by cardvalue on 2016/4/11.
 */
public class PostCreateAuth extends RealmObject{
    private int type;

    private String ipAddress;

    private String blackBox;




    //private int merchantId;

   // private int applicationId;

    private String mobilePhone;

  //  private String openId;

    private String time;

    private String ip;

    private String deviceNumber;

    private String gps;

    private String agent;

    private String createdAt;

    private String objectid;

    public String getObjectid() {
        return objectid;
    }

    public void setObjectid(String objectid) {
        this.objectid = objectid;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }


    public String getBlackBox() {
        return blackBox;
    }

    public void setBlackBox(String blackBox) {
        this.blackBox = blackBox;
    }

    public void setType(int type){
        this.type = type;
    }
    public int getType(){
        return this.type;
    }

    public  PostCreateAuth(int type,String mobilePhone, String time,String ip,String deviceNumber,String gps,String agent){
        this.type = type;
        this.mobilePhone = mobilePhone;
        this.time = time;
        this.ip = ip;
        this.deviceNumber = deviceNumber;
        this.gps = gps;
        this.agent = agent;
    }

    public PostCreateAuth(){

    }


    public void setMobilePhone(String mobilePhone){
        this.mobilePhone = mobilePhone;
    }
    public String getMobilePhone(){
        return this.mobilePhone;
    }

    public void setTime(String time){
        this.time = time;
    }
    public String getTime(){
        return this.time;
    }
    public void setIp(String ip){
        this.ip = ip;
    }
    public String getIp(){
        return this.ip;
    }
    public void setDeviceNumber(String deviceNumber){
        this.deviceNumber = deviceNumber;
    }
    public String getDeviceNumber(){
        return this.deviceNumber;
    }
    public void setGps(String gps){
        this.gps = gps;
    }
    public String getGps(){
        return this.gps;
    }
    public void setAgent(String agent){
        this.agent = agent;
    }
    public String getAgent(){
        return this.agent;
    }



    private  int code;

    private String error;


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

}
